package com.huatao.subject.application.convert;

import com.huatao.subject.application.dto.SubjectAnswerDTO;
import com.huatao.subject.domain.entity.SubjectAnswerBO;
import com.huatao.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerConvert {

    SubjectAnswerConvert INSTANCE = Mappers.getMapper(SubjectAnswerConvert.class);

    SubjectAnswerBO convertSubjectAnswerDtoToBo(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO> convertSubjectAnswerDtoListToBo(List<SubjectAnswerDTO> subjectAnswerDTO);

}
